import request from '@/utils/request'

// 查询LVMH MA工单列表
export function listWorkOrderMaLvmh(query) {
  return request({
    url: '/system/workOrderMaLvmh/list',
    method: 'get',
    params: query
  })
}

// 查询LVMH MA工单详细
export function getWorkOrderMaLvmh(workOrderId) {
  return request({
    url: '/system/workOrderMaLvmh/' + workOrderId,
    method: 'get'
  })
}

// 新增LVMH MA工单
export function addWorkOrderMaLvmh(data) {
  return request({
    url: '/system/workOrderMaLvmh',
    method: 'post',
    data: data
  })
}

// 修改LVMH MA工单
export function updateWorkOrderMaLvmh(data) {
  return request({
    url: '/system/workOrderMaLvmh',
    method: 'put',
    data: data
  })
}

// 删除LVMH MA工单
export function delWorkOrderMaLvmh(workOrderId) {
  return request({
    url: '/system/workOrderMaLvmh/' + workOrderId,
    method: 'delete'
  })
}
